package com.nbjtjc.safe.mapper.edu;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.nbjtjc.safe.bean.Result;
import com.nbjtjc.safe.model.edu.EduEntryTraining;
import com.nbjtjc.util.MyMapper;
@Mapper
public interface EduEntryTrainingMapper extends MyMapper<EduEntryTraining> {

	List<EduEntryTraining> searchDetail(@Param("eet") EduEntryTraining eduEntryTraining);
	
	@Select("select * from edu_entry_training where user_id = #{userId}")
	List<EduEntryTraining> findIdByUserId(@Param("userId") Integer userId);

	List<EduEntryTraining> search(@Param("eet") EduEntryTraining eduEntryTraining);
	
	
	EduEntryTraining findCompanyTrainByUserId(@Param("userId") Integer userId);


	List<EduEntryTraining> compFindDetail(@Param("eet")EduEntryTraining eduEntryTraining,@Param("subCompIds") List<Integer> deptIds);
	
}